Optimal. Leaf size=53 \[ -\frac{1}{6} \left (2 x-x^2\right )^{3/2}-\frac{1}{2} \sqrt{2 x-x^2}+\frac{1}{2} \tanh ^{-1}\left (\sqrt{2 x-x^2}\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0775751, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143 \[ -\frac{1}{6} \left (2 x-x^2\right )^{3/2}-\frac{1}{2} \sqrt{2 x-x^2}+\frac{1}{2} \tanh ^{-1}\left (\sqrt{2 x-x^2}\right ) \]
Antiderivative was successfully verified.
[In] Int[(2*x - x^2)^(3/2)/(2 - 2*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 13.823, size = 36, normalized size = 0.68 \[ - \frac{\left (- x^{2} + 2 x\right )^{\frac{3}{2}}}{6} - \frac{\sqrt{- x^{2} + 2 x}}{2} + \frac{\operatorname{atanh}{\left (\sqrt{- x^{2} + 2 x} \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((-x**2+2*x)**(3/2)/(2-2*x),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0855779, size = 84, normalized size = 1.58 \[ \frac{\sqrt{-(x-2) x} \left (\sqrt{x-2} \sqrt{x} \left (x^2-2 x-3\right )+3 \tan ^{-1}\left (\frac{\sqrt{x}-2}{\sqrt{x-2}}\right )+3 \tan ^{-1}\left (\frac{\sqrt{x}+2}{\sqrt{x-2}}\right )\right )}{6 \sqrt{x-2} \sqrt{x}} \]
Antiderivative was successfully verified.
[In] Integrate[(2*x - x^2)^(3/2)/(2 - 2*x),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 42, normalized size = 0.8 \[ -{\frac{1}{6} \left ( - \left ( -1+x \right ) ^{2}+1 \right ) ^{{\frac{3}{2}}}}-{\frac{1}{2}\sqrt{- \left ( -1+x \right ) ^{2}+1}}+{\frac{1}{2}{\it Artanh} \left ({\frac{1}{\sqrt{- \left ( -1+x \right ) ^{2}+1}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((-x^2+2*x)^(3/2)/(2-2*x),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.75893, size = 78, normalized size = 1.47 \[ -\frac{1}{6} \,{\left (-x^{2} + 2 \, x\right )}^{\frac{3}{2}} - \frac{1}{2} \, \sqrt{-x^{2} + 2 \, x} + \frac{1}{2} \, \log \left (\frac{2 \, \sqrt{-x^{2} + 2 \, x}}{{\left | x - 1 \right |}} + \frac{2}{{\left | x - 1 \right |}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-1/2*(-x^2 + 2*x)^(3/2)/(x - 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.242045, size = 88, normalized size = 1.66 \[ \frac{1}{6} \,{\left (x^{2} - 2 \, x - 3\right )} \sqrt{-x^{2} + 2 \, x} + \frac{1}{2} \, \log \left (\frac{x + \sqrt{-x^{2} + 2 \, x}}{x}\right ) - \frac{1}{2} \, \log \left (-\frac{x - \sqrt{-x^{2} + 2 \, x}}{x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-1/2*(-x^2 + 2*x)^(3/2)/(x - 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{\int \frac{2 x \sqrt{- x^{2} + 2 x}}{x - 1}\, dx + \int \left (- \frac{x^{2} \sqrt{- x^{2} + 2 x}}{x - 1}\right )\, dx}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-x**2+2*x)**(3/2)/(2-2*x),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.217275, size = 63, normalized size = 1.19 \[ \frac{1}{6} \,{\left ({\left (x - 2\right )} x - 3\right )} \sqrt{-x^{2} + 2 \, x} - \frac{1}{2} \,{\rm ln}\left (-\frac{2 \,{\left (\sqrt{-x^{2} + 2 \, x} - 1\right )}}{{\left | -2 \, x + 2 \right |}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-1/2*(-x^2 + 2*x)^(3/2)/(x - 1),x, algorithm="giac")
[Out]